package com.feng.cloud.common.annotation;

import com.feng.cloud.common.configure.AsyncThreadPoolTaskExecutorConfigure;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.annotation.*;

/**
 * @ClassName EnableAsyncThreadPool
 * @Description 异步线程池
 * @Author Better Feng
 * @Date 2020/1/4 21:24
 * @Version 1.0
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableAsync
@Import(AsyncThreadPoolTaskExecutorConfigure.class)
public @interface EnableAsyncThreadPool {

}
